package com.gujia.designpattern.factory.impl;

import com.gujia.designpattern.factory.Boy;
import com.gujia.designpattern.factory.Girl;
import com.gujia.designpattern.factory.PersonFactory;

public class HNFactory implements PersonFactory{
    @Override
    public Boy getBoy() {
        return new HNBoy();
    }

    @Override
    public Girl getGirl() {
        return new HNGirl();
    }
}
